package leetcode100;

/**
 * @author shkstart
 * @create 2022-11-28-20:43
 */
public class Meme9_1 {
    public int addAB(int A, int B) {
        while(B!=0){
            int temp = (A&B)<<1;
            A = A^B;
           B = temp;
        }
        return A;
    }
}
